'''
Created on Sep 18, 2009

@author: mkiyer

Initialization code for the app package
'''
import os.path

if 'SW_ROOT' in os.environ:
    sw_root = os.path.join(os.environ['SW_ROOT'], 'bioinfo')
else:
    raise KeyError('You must define the SW_ROOT environment variable'
                   ' to point to the lab software directory'
                   ' in order to import veggie.app')